package com.lwbldy.modules.student.service.impl;

import com.lwbldy.modules.student.domain.PreLog;
import com.lwbldy.modules.student.mapper.PreLogMapper;
import com.lwbldy.modules.student.service.IPreLogService;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("preLogService")
public class PreLogServiceImpl implements IPreLogService {

    @Resource
    PreLogMapper preLogMapper;

    @Override
    public List<PreLog> selectList(PreLog param) {
        return preLogMapper.selectList(param);
    }

    @Override
    public Integer insert(PreLog preLog) {
        return preLogMapper.insert(preLog);
    }

    @Override
    public PreLog selectById(Integer id) {
        return preLogMapper.selectById(id);
    }

    @Override
    public Integer updateById(PreLog preLog) {
        return preLogMapper.updateById(preLog);
    }

    @Override
    public Integer updateByRegId(PreLog preLog) {
        return preLogMapper.updateByRegId(preLog);
    }

    @Override
    public Integer deleteById(Integer id) {
        return preLogMapper.deleteById(id);
    }

    @Override
    public Integer deleteByIds(Object[] ids) {
        return preLogMapper.deleteByIds(ids);
    }

    @Override
    public List<PreLog> queryByIdCard(String idCard) {
        return preLogMapper.queryByIdCard(idCard);
    }

}
